package murcielago.main;

import javax.microedition.midlet.*;
import javax.microedition.lcdui.*;
import murcielago.GUI.*;

/**
 * @author gato
 */
public class Murcielago extends MIDlet{
    
    private Display display;
    private PrincipalGui principal;
    
    public Murcielago(){
        display = Display.getDisplay(this);
        principal = new PrincipalGui(this);
    }
    
    public void startApp() {
        display.setCurrent(principal.getScreen());
    }

    public void pauseApp() {
    }

    public void destroyApp(boolean unconditional) {
    }
    
    public Display getDisplay(){
        return this.display;
    }
    
}
